/*  BEGIN_FILE_HDR
******************************************Copyright(C)*****************************************
*
*                                       YKXH  Technology
*
***********************************File Info***************************************************
*   File Name       @: MemMap.h
************************************************************************************************
*   Project/Product @: 
*   Title           @: 
*   Author          @: zhongliang.Yang 
************************************************************************************************
*   Description     @: AUTOSAR Memory map file
*                     This file will use #pragma key words a lot, so it may 
*                     be different in different compiler.   
************************************************************************************************
*   Limitations     @: None
*
************************************************************************************************
*
************************************************************************************************
*   Revision History:
* 
*   Version     Date          Initials           CR#         Descriptions
*   --------    -----------   ----------------   --------    -----------------------
*   1.0         2018/05/29    zhongliang.yang    N/A         Original 
*   1.1         xxxx/xx/xx    xxxxx              N/A         xxxxxxxx 
*     
************************************************************************************************
* END_FILE_HDR*/

#if defined (START_WITH_IF)
/*******************************************************************************
*   CAN Driver START 
*******************************************************************************/
#elif defined (CAN_START_SEC_VAR_UNSPECIFIED)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  CAN_START_SEC_VAR_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (CAN_STOP_SEC_VAR_UNSPECIFIED)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  CAN_STOP_SEC_VAR_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (CAN_START_SEC_CONFIG_DATA_UNSPECIFIED)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  CAN_START_SEC_CONFIG_DATA_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (CAN_STOP_SEC_CONFIG_DATA_UNSPECIFIED)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  CAN_STOP_SEC_CONFIG_DATA_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (CAN_START_SEC_CONST_UNSPECIFIED)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  CAN_START_SEC_CONST_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (CAN_STOP_SEC_CONST_UNSPECIFIED)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  CAN_STOP_SEC_CONST_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (CAN_START_SEC_PUBLIC_CODE)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  CAN_START_SEC_PUBLIC_CODE 
    /* Add #pragma code here */
  #endif
#elif defined (CAN_STOP_SEC_PUBLIC_CODE)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  CAN_STOP_SEC_PUBLIC_CODE 
    /* Add #pragma code here */
  #endif
#elif defined (CAN_START_SEC_PRIVATE_CODE)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  CAN_START_SEC_PRIVATE_CODE 
    /* Add #pragma code here */
  #endif
#elif defined (CAN_STOP_SEC_PRIVATE_CODE)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  CAN_STOP_SEC_PRIVATE_CODE 
    /* Add #pragma code here */
  #endif
#elif defined (CAN_START_SEC_ISR_CODE)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  CAN_START_SEC_ISR_CODE 
    /* Add #pragma code here */
    #pragma CODE_SEG __NEAR_SEG NON_BANKED
  #endif
#elif defined (CAN_STOP_SEC_ISR_CODE)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  CAN_STOP_SEC_ISR_CODE 
    /* Add #pragma code here */
    #pragma CODE_SEG DEFAULT
  #endif
#elif defined (CAN_START_SEC_APPL_CODE)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  CAN_START_SEC_APPL_CODE 
    /* Add #pragma code here */
  #endif
#elif defined (CAN_STOP_SEC_APPL_CODE)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  CAN_STOP_SEC_APPL_CODE 
    /* Add #pragma code here */
  #endif
/*******************************************************************************
*   CAN Driver END 
*******************************************************************************/
 
/*******************************************************************************
*   CAN Interface START 
*******************************************************************************/
#elif defined (CANIF_START_SEC_VAR_UNSPECIFIED)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  CANIF_START_SEC_VAR_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (CANIF_STOP_SEC_VAR_UNSPECIFIED)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  CANIF_STOP_SEC_VAR_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (CANIF_START_SEC_CONFIG_DATA_UNSPECIFIED)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  CANIF_START_SEC_CONFIG_DATA_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (CANIF_STOP_SEC_CONFIG_DATA_UNSPECIFIED)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  CANIF_STOP_SEC_CONFIG_DATA_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (CANIF_START_SEC_CONST_UNSPECIFIED)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  CANIF_START_SEC_CONST_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (CANIF_STOP_SEC_CONST_UNSPECIFIED)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  CANIF_STOP_SEC_CONST_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (CANIF_START_SEC_PUBLIC_CODE)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  CANIF_START_SEC_PUBLIC_CODE 
    /* Add #pragma code here */
  #endif
#elif defined (CANIF_STOP_SEC_PUBLIC_CODE)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  CANIF_STOP_SEC_PUBLIC_CODE 
    /* Add #pragma code here */
  #endif
#elif defined (CANIF_START_SEC_PRIVATE_CODE)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  CANIF_START_SEC_PRIVATE_CODE 
    /* Add #pragma code here */
  #endif
#elif defined (CANIF_STOP_SEC_PRIVATE_CODE)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  CANIF_STOP_SEC_PRIVATE_CODE 
    /* Add #pragma code here */
  #endif
#elif defined (CANIF_START_SEC_APPL_CODE)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  CANIF_START_SEC_APPL_CODE 
    /* Add #pragma code here */
  #endif
#elif defined (CANIF_STOP_SEC_APPL_CODE)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  CANIF_STOP_SEC_APPL_CODE 
    /* Add #pragma code here */
  #endif
/*******************************************************************************
*   CAN Interface END 
*******************************************************************************/

/*******************************************************************************
*   DCM START 
*******************************************************************************/
#elif defined (DCM_START_SEC_VAR_UNSPECIFIED)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  DCM_START_SEC_VAR_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (DCM_STOP_SEC_VAR_UNSPECIFIED)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  DCM_STOP_SEC_VAR_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (DCM_START_SEC_CONFIG_DATA_UNSPECIFIED)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  DCM_START_SEC_CONFIG_DATA_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (DCM_STOP_SEC_CONFIG_DATA_UNSPECIFIED)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  DCM_STOP_SEC_CONFIG_DATA_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (DCM_START_SEC_CONST_UNSPECIFIED)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  DCM_START_SEC_CONST_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (DCM_STOP_SEC_CONST_UNSPECIFIED)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  DCM_STOP_SEC_CONST_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (DCM_START_SEC_PUBLIC_CODE)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  DCM_START_SEC_PUBLIC_CODE 
    /* Add #pragma code here */
  #endif
#elif defined (DCM_STOP_SEC_PUBLIC_CODE)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  DCM_STOP_SEC_PUBLIC_CODE 
    /* Add #pragma code here */
  #endif
#elif defined (DCM_START_SEC_PRIVATE_CODE)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  DCM_START_SEC_PRIVATE_CODE 
    /* Add #pragma code here */
  #endif
#elif defined (DCM_STOP_SEC_PRIVATE_CODE)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  DCM_STOP_SEC_PRIVATE_CODE 
    /* Add #pragma code here */
  #endif
#elif defined (DCM_START_SEC_APPL_CODE)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  DCM_START_SEC_APPL_CODE 
    /* Add #pragma code here */
  #endif
#elif defined (DCM_STOP_SEC_APPL_CODE)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  DCM_STOP_SEC_APPL_CODE 
    /* Add #pragma code here */
  #endif
/*******************************************************************************
*   DCM END 
*******************************************************************************/


/*******************************************************************************
*   CCP START 
*******************************************************************************/
#elif defined (CCP_START_SEC_VAR_UNSPECIFIED)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  CCP_START_SEC_VAR_UNSPECIFIED 
      /* Add #pragma code here */
  #endif
#elif defined (CCP_STOP_SEC_VAR_UNSPECIFIED)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  CCP_STOP_SEC_VAR_UNSPECIFIED 
      /* Add #pragma code here */
  #endif
#elif defined (CCP_START_SEC_CONFIG_DATA_UNSPECIFIED)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  CCP_START_SEC_CONFIG_DATA_UNSPECIFIED 
      /* Add #pragma code here */
  #endif
#elif defined (CCP_STOP_SEC_CONFIG_DATA_UNSPECIFIED)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  CCP_STOP_SEC_CONFIG_DATA_UNSPECIFIED 
      /* Add #pragma code here */
  #endif
#elif defined (CCP_START_SEC_CONST_UNSPECIFIED)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  CCP_START_SEC_CONST_UNSPECIFIED 
      /* Add #pragma code here */
  #endif
#elif defined (CCP_STOP_SEC_CONST_UNSPECIFIED)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  CCP_STOP_SEC_CONST_UNSPECIFIED 
      /* Add #pragma code here */
  #endif
#elif defined (CCP_START_SEC_PUBLIC_CODE)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  CCP_START_SEC_PUBLIC_CODE 
      /* Add #pragma code here */
  #endif
#elif defined (CCP_STOP_SEC_PUBLIC_CODE)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  CCP_STOP_SEC_PUBLIC_CODE 
      /* Add #pragma code here */
  #endif
#elif defined (CCP_START_SEC_PRIVATE_CODE)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  CCP_START_SEC_PRIVATE_CODE 
      /* Add #pragma code here */
  #endif
#elif defined (CCP_STOP_SEC_PRIVATE_CODE)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  CCP_STOP_SEC_PRIVATE_CODE 
      /* Add #pragma code here */
  #endif
#elif defined (CCP_START_SEC_ISR_CODE)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  CCP_START_SEC_ISR_CODE 
      /* Add #pragma code here */
  #endif
#elif defined (CCP_STOP_SEC_ISR_CODE)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  CCP_STOP_SEC_ISR_CODE 
      /* Add #pragma code here */
  #endif
#elif defined (CCP_START_SEC_APPL_CODE)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  CCP_START_SEC_APPL_CODE 
      /* Add #pragma code here */
  #endif
#elif defined (CCP_STOP_SEC_APPL_CODE)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  CCP_STOP_SEC_APPL_CODE 
      /* Add #pragma code here */
  #endif
/*******************************************************************************
*   CCP END 
*******************************************************************************/


/*******************************************************************************
*   COM START 
*******************************************************************************/
#elif defined (COM_START_SEC_VAR_UNSPECIFIED)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  COM_START_SEC_VAR_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (COM_STOP_SEC_VAR_UNSPECIFIED)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  COM_STOP_SEC_VAR_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (COM_START_SEC_CONFIG_DATA_UNSPECIFIED)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  COM_START_SEC_CONFIG_DATA_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (COM_STOP_SEC_CONFIG_DATA_UNSPECIFIED)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  COM_STOP_SEC_CONFIG_DATA_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (COM_START_SEC_CONST_UNSPECIFIED)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  COM_START_SEC_CONST_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (COM_STOP_SEC_CONST_UNSPECIFIED)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  COM_STOP_SEC_CONST_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (COM_START_SEC_PUBLIC_CODE)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  COM_START_SEC_PUBLIC_CODE 
    /* Add #pragma code here */
  #endif
#elif defined (COM_STOP_SEC_PUBLIC_CODE)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  COM_STOP_SEC_PUBLIC_CODE 
    /* Add #pragma code here */
  #endif
#elif defined (COM_START_SEC_PRIVATE_CODE)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  COM_START_SEC_PRIVATE_CODE 
    /* Add #pragma code here */
  #endif
#elif defined (COM_STOP_SEC_PRIVATE_CODE)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  COM_STOP_SEC_PRIVATE_CODE 
    /* Add #pragma code here */
  #endif
#elif defined (COM_START_SEC_APPL_CODE)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  COM_START_SEC_APPL_CODE 
    /* Add #pragma code here */
  #endif
#elif defined (COM_STOP_SEC_APPL_CODE)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  COM_STOP_SEC_APPL_CODE 
    /* Add #pragma code here */
  #endif
/*******************************************************************************
*   COM END 
*******************************************************************************/

/*******************************************************************************
*   PDUR START 
*******************************************************************************/
#elif defined (PDUR_START_SEC_VAR_UNSPECIFIED)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  PDUR_START_SEC_VAR_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (PDUR_STOP_SEC_VAR_UNSPECIFIED)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  PDUR_STOP_SEC_VAR_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (PDUR_START_SEC_CONFIG_DATA_UNSPECIFIED)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  PDUR_START_SEC_CONFIG_DATA_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (PDUR_STOP_SEC_CONFIG_DATA_UNSPECIFIED)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  PDUR_STOP_SEC_CONFIG_DATA_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (PDUR_START_SEC_CONST_UNSPECIFIED)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  PDUR_START_SEC_CONST_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (PDUR_STOP_SEC_CONST_UNSPECIFIED)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  PDUR_STOP_SEC_CONST_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (PDUR_START_SEC_PUBLIC_CODE)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  PDUR_START_SEC_PUBLIC_CODE 
    /* Add #pragma code here */
  #endif
#elif defined (PDUR_STOP_SEC_PUBLIC_CODE)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  PDUR_STOP_SEC_PUBLIC_CODE 
    /* Add #pragma code here */
  #endif
#elif defined (PDUR_START_SEC_PRIVATE_CODE)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  PDUR_START_SEC_PRIVATE_CODE 
    /* Add #pragma code here */
  #endif
#elif defined (PDUR_STOP_SEC_PRIVATE_CODE)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  PDUR_STOP_SEC_PRIVATE_CODE 
    /* Add #pragma code here */
  #endif
#elif defined (PDUR_START_SEC_APPL_CODE)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  PDUR_START_SEC_APPL_CODE 
    /* Add #pragma code here */
  #endif
#elif defined (PDUR_STOP_SEC_APPL_CODE)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  PDUR_STOP_SEC_APPL_CODE 
    /* Add #pragma code here */
  #endif
/*******************************************************************************
*   PDUR END 
*******************************************************************************/


/*******************************************************************************
*   Lin Driver START 
*******************************************************************************/

#elif defined (LIN_START_SEC_VAR_UNSPECIFIED)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  LIN_START_SEC_VAR_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (LIN_STOP_SEC_VAR_UNSPECIFIED)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  LIN_STOP_SEC_VAR_UNSPECIFIED 
   /* Add #pragma code here */
  #endif
#elif defined (LIN_START_SEC_CONFIG_DATA_UNSPECIFIED)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  LIN_START_SEC_CONFIG_DATA_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (LIN_STOP_SEC_CONFIG_DATA_UNSPECIFIED)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  LIN_STOP_SEC_CONFIG_DATA_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (LIN_START_SEC_CONST_UNSPECIFIED)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  LIN_START_SEC_CONST_UNSPECIFIED 
   /* Add #pragma code here */
  #endif
#elif defined (LIN_STOP_SEC_CONST_UNSPECIFIED)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  LIN_STOP_SEC_CONST_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (LIN_START_SEC_PUBLIC_CODE)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  LIN_START_SEC_PUBLIC_CODE 
    /* Add #pragma code here */
  #endif
#elif defined (LIN_STOP_SEC_PUBLIC_CODE)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  LIN_STOP_SEC_PUBLIC_CODE 
    /* Add #pragma code here */
  #endif
#elif defined (LIN_START_SEC_PRIVATE_CODE)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  LIN_START_SEC_PRIVATE_CODE 
    /* Add #pragma code here */
  #endif
#elif defined (LIN_STOP_SEC_PRIVATE_CODE)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  LIN_STOP_SEC_PRIVATE_CODE 
    /* Add #pragma code here */
  #endif
#elif defined (LIN_START_SEC_ISR_CODE)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  LIN_START_SEC_ISR_CODE 
    /* Add #pragma code here */
    #pragma CODE_SEG __NEAR_SEG NON_BANKED
  #endif
#elif defined (LIN_STOP_SEC_ISR_CODE)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  LIN_STOP_SEC_ISR_CODE 
    /* Add #pragma code here */
    #pragma CODE_SEG DEFAULT
  #endif
#elif defined (LIN_START_SEC_APPL_CODE)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  LIN_START_SEC_APPL_CODE 
    /* Add #pragma code here */
  #endif
#elif defined (LIN_STOP_SEC_APPL_CODE)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  LIN_STOP_SEC_APPL_CODE 
    /* Add #pragma code here */
  #endif
/*******************************************************************************
*   Lin Driver END 
*******************************************************************************/

/*******************************************************************************
*   Lin Interface START 
*******************************************************************************/

#elif defined (LINIF_START_SEC_VAR_UNSPECIFIED)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  LINIF_START_SEC_VAR_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (LINIF_STOP_SEC_VAR_UNSPECIFIED)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  LINIF_STOP_SEC_VAR_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (LINIF_START_SEC_CONFIG_DATA_UNSPECIFIED)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  LINIF_START_SEC_CONFIG_DATA_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (LINIF_STOP_SEC_CONFIG_DATA_UNSPECIFIED)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  LINIF_STOP_SEC_CONFIG_DATA_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (LINIF_START_SEC_CONST_UNSPECIFIED)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  LINIF_START_SEC_CONST_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (LINIF_STOP_SEC_CONST_UNSPECIFIED)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  LINIF_STOP_SEC_CONST_UNSPECIFIED 
    /* Add #pragma code here */
  #endif
#elif defined (LINIF_START_SEC_PUBLIC_CODE)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  LINIF_START_SEC_PUBLIC_CODE 
    /* Add #pragma code here */
  #endif
#elif defined (LINIF_STOP_SEC_PUBLIC_CODE)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  LINIF_STOP_SEC_PUBLIC_CODE 
     /* Add #pragma code here */
  #endif
#elif defined (LINIF_START_SEC_PRIVATE_CODE)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  LINIF_START_SEC_PRIVATE_CODE 
    /* Add #pragma code here */
  #endif
#elif defined (LINIF_STOP_SEC_PRIVATE_CODE)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  LINIF_STOP_SEC_PRIVATE_CODE 
    /* Add #pragma code here */
  #endif
#elif defined (LINIF_START_SEC_APPL_CODE)
  #ifdef SECTION_STARTED
    #error "Section is not stopped"
  #else
    #define SECTION_STARTED
    #undef  LINIF_START_SEC_APPL_CODE 
    /* Add #pragma code here */
  #endif
#elif defined (LINIF_STOP_SEC_APPL_CODE)
  #ifndef SECTION_STARTED
    #error "Section is not started"
  #else
    #undef  SECTION_STARTED
    #undef  LINIF_STOP_SEC_APPL_CODE 
    /* Add #pragma code here */
  #endif
/*******************************************************************************
*   Lin Interface END 
*******************************************************************************/


#endif/* START_WITH_IF */
